home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Sumex-Aim Help / FTP with Vax VMS < prev    next >
Internet Message Format  |  1993-12-31  |  9KB

  1. Date: 14 Feb 89 13:06:00 EST
  2. From: "ARTIC::HALPIN" <halpin%artic.decnet@alexandria-emh2.army.mil>
  3.  
  4. 1.  At the $ prompt, enter [FTP]  
  5.       NOTE: The brackets are NOT part of your entry, just my 
  6.       convention for delineating the keystrokes that you need 
  7.       to enter.
  8.  
  9. 2. You will get an *  This is the FTP processor prompt.  
  10.  
  11. 3. Enter [open sumex-aim.stanford.edu]  
  12.       Note the space between the command and the name.
  13.  
  14. 4. Alternative: from the $ prompt you can 
  15.       enter [ftp sumex-aim.stanford.edu] and it will bypass steps 2-3.
  16.  
  17. 5. If the gods are smiling, you will get a mesage telling you
  18. that the "connection is opened" and some other stuff.  That will
  19. finish with a prompt for your name.  DON'T enter your name unless
  20. you have an account on the sumex-aim system.  
  21.  
  22. Enter [anonymous].
  23.  
  24. 6. You will be asked for a password.  Enter your name.  
  25.        Note that my userName on my system is the same as my 
  26.        realName.  I don't know whether the login process cares 
  27.        which you use, but I would suggest using your userName 
  28.        rather than your realName if they are different.
  29.  
  30. 7. You may then be told that there are already too many "anonymous"
  31. users and that you should try again later.  NOTE that the 
  32. connection between your system and the sumex-aim is still alive
  33. and well.  You MAY leave it open, issue a [login] command a 
  34. few minutes later to try again.  Or you may enter [bye] to close
  35. the connection and get back to your VAX $.  In either case, the 
  36. first time you see the "too many users" message, you should repeat
  37. the following: "I, realName, do hereby take a solemn oath
  38. that I will not EVER take any more time than I need while connected
  39. to the sumex-aim system.  I will never attempt a large file transfer
  40. during prime time unless it is absolutely necessary.  I will in all
  41. ways act as though my connect time were being charged to me at the
  42. rate of $10 per minute."  I can guarentee that the gods will be 
  43. impressed with your nobel intentions, and are more likely to let you
  44. in the next time you try.
  45.  
  46. 8. Note that, any time you have the FTP * prompt, entering [help]
  47. will give you a list of FTP commands with a brief description of 
  48. their function.  These are reproduced here:
  49. *help
  50. Commands:
  51. abort           Terminate current operation
  52. ascii           Set file transfer mode to ascii
  53. bget            Retrieve a file in binary mode
  54. bput            Send a file in binary mode
  55. bell            Ring bell when file transfer completes
  56. binary          Set file transfer mode to binary
  57. bye             Close the connection and exit
  58. case            Toggle mapping of local filenames to lower case
  59. cd              Change current working directory on remote host
  60. chdirup         Change working directory on remote host to parent 
  61.         directory
  62. commandfile     Execute ftp commands from local file
  63. delete          Delete a file on remote host
  64. directory       Display contents of a directory in long form
  65. disconnect      Close the connection
  66. file            Set file transfer structure to FILE
  67. get             Retrieve a file from remote host
  68. hash            Print # for each packet sent or received
  69. help            Display help messages for all ftp commands
  70. interactive     Prompt with each filename for mget, mput and 
  71.         mdelete commands
  72. lcd             Change current working directory on local host
  73. login           Log into the remote system
  74. ls              Display contents of a directory in short form
  75. mdelete         Delete a group of files from the remote host
  76. mget            Retrieve a group of files from the remote host
  77. mkdir           Make a directory on the remote host
  78. mput            Transfer a group of local files to the remote host
  79. nobell          Do not ring bell when file transfer completes
  80. nohash          Do not print # for each packet sent or received
  81. nointeractive   Turn prompting off for mget, mput and mdelete commands
  82. open            Open a connection to a remote host
  83. put             Transfer a file from local host to the remote host
  84. pwd             Print remote host's current working directory
  85. quiet           Do not display transfer statistics
  86. quote           Send the specified string to the remote ftp server
  87. record          Set file transfer structure to RECORD
  88. remotehelp      Display list of FTP commands implemented by the server
  89. rename          Rename a file on the remote host
  90. rget            Retrieve a file with record structure from 
  91.         the remote host
  92. rput            Transfer a file with record structure to the 
  93.         remote host
  94. site            Send site parameter
  95. stat            Display contents of a directory in short form
  96. show            Show current status
  97. structure       Set file transfer structure
  98. tenex           Set file transfer mode to tenex
  99. unix            Set system type to UNIX
  100. verbose         Display server replies and transfer statistics
  101. vget            Retrieve a file with RMS record structure from 
  102.         the remote host
  103. vmode           Set file transfer structure to RMS type file
  104. vms             Set system type to VMS
  105. vput            Transfer a file with RMS record structure to the 
  106.         remote host
  107.  
  108. Aliases:
  109. cdup      => chdirup
  110. close     => disconnect
  111. cwd       => cd
  112. end       => bye
  113. exit      => bye
  114. list      => directory
  115. mrm       => mdelete
  116. mv        => rename
  117. nlist     => ls
  118. quit      => bye
  119. retrieve  => get
  120. rm        => delete
  121. store     => put
  122. user      => login
  123. ?         => help
  124.  
  125.  
  126. 9. Once the system accepts your login, you are ready to go shopping.
  127. Enter [cd info-mac] to Change the working Directory to the info-mac
  128. directory. 
  129.       (Note that most of the commands you enter at the * prompt
  130.       are commands to the remote system, not your home system; see 
  131.       the "help" list of commands to see how to change the directory 
  132.       on your local system while in an FTP session.)
  133.       
  134.       (Note that you don't have to cd; it just saves some keystrokes
  135.       when you start typing fileNames.)
  136.       
  137. 10. Enter [get /subdirectory/any-file-name-you-need.ext newFile.ext]
  138.       Note that what you are doing here is giving the FTP processor
  139.       the path and file name of the file you want to "get", followed
  140.       by a space, followed by the name you are going to give that file 
  141.  
  142.       in YOUR directory on YOUR system.  In theory, if you omit the
  143.       newFile.name, the file ought to transfer anyway, retaining its
  144.       original name.  That doesn't always work for me; when I try it 
  145.       I sometimes get an error message which LOOKS like it is saying 
  146.       that the target file doesn't exist on sumex-aim.
  147.  
  148.  11. You be told that the transfer has started, then that it is
  149.  finished.  Do a few more, then enter [bye] and get out.
  150.       (Note that you must have sufficient space on your VAX file
  151.       system to acoomodate the files you are getting.  If you 
  152.       don't, the transfer will fail, but the error message doesn't 
  153.       tell you why; it says something to the effect of "unexpected
  154.       closure of the data connection..."  Also note that deleting
  155.       files on the VAX doesn't necessarily free up space; you may
  156.       have to [compress] after deleting.)
  157.  
  158.  12. What you have received are, usually, psuedo text files.  Turn
  159.  on the file capture switch in your Mac communications program, 
  160.  and at the $ prompt enter [type newFile.ext].  Once you have your
  161.  file(s) safely snuggled into your Mac you will need to use binhex
  162.  and stuffit to translate the psuedo text into its original form
  163.  as a Mac program, DA, hypercard stack, or whatever.
  164.  
  165.  13. SAMPLE SCRIPT: ITEMS in [brackets] are YOUR ENTRIES
  166.  
  167.  [ftp sumex-aim.stanford.edu]
  168. yoursite-abc2.army.mil Wollongong FTP User Process (Version 3.2)
  169.  Connection Opened
  170.  Using 8-bit bytes.
  171. <sumex-aim FTP server (SunOS 4.0/1) ready.
  172. Name (sumex-aim.stanford.edu:userName): [anonymous]
  173. <Guest login ok, send ident as password. 
  174. Password (sumex-aim.stanford.edu:anonymous): [userName]
  175. <Guest login ok, access restrictions apply.
  176.  
  177. *[dir info-mac/help]
  178. <PORT command successful.
  179. <ASCII data connection for /bin/ls (26.1.0.50,4437).
  180. <ASCII Transfer complete.
  181. total 96
  182. -rw-r--r--  1 macmod   info-mac     1629 Jan 16 00:12 about-info-mac.tx
  183. t
  184. -rw-r--r--  1 macmod   info-mac     2612 Jan 28 12:59 accessing-files.t
  185. xt
  186. -rw-r--r--  1 macmod   info-mac    79855 Feb 10 02:03 all-files.txt
  187. -rw-r--r--  1 macmod   info-mac      384 Feb  6 15:08 archive-status.tx
  188. t
  189. -rw-r--r--  1 macmod   info-mac      534 Feb  8 11:34 file-types.txt
  190. -rw-r--r--  1 macmod   info-mac     1643 Jan 28 13:09 posting-guideline
  191. s.txt
  192. -rw-r--r--  1 macmod   info-mac     6284 Feb 10 02:00 recent-files.txt
  193. -rw-r--r--  1 macmod   info-mac     1788 Jan 28 13:13 wish-list.txt
  194. 582 bytes in 5 seconds--928 bps
  195. *[get info-mac/hypercard/cd-editor-demo.hqx cd.demo]
  196. <PORT command successful.
  197. <ASCII data connection for info-mac/hypercard/cd-editor-demo.hqx (26.1.
  198. 0.50,4438
  199. ) (53859 bytes)
  200. <ASCII Transfer complete.
  201. 53023 bytes in 23 seconds--18440 bps
  202. *get[info-mac/app/vision-lab-067.hqx vision.lab]
  203. <PORT command successful.
  204. <ASCII data connection for info-mac/app/vision-lab-067.hqx (26.1.0.50,4
  205. 439) (184
  206. 246 bytes).
  207. <ASCII Transfer complete.
  208. 181404 bytes in 71 seconds--20432 bps
  209. *[bye]
  210. exit
  211.  
  212.  
  213. Remember: There is a very fine line between a challenge and a pain-in-the-ass.
  214.  
  215.  
  216.  
  217.